home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Networking / OTCodeResource / ApplParamsHack.c next >
Encoding:
C/C++ Source or Header  |  2000-09-28  |  902 b   |  26 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ApplParamsHack.c
  3.  
  4.     Contains:    Hack to allocate 32 bytes of application globals in a code resource.
  5.  
  6.     Written by:    Quinn "The Eskimo!"
  7.  
  8.     Copyright:    © 1997 by Apple Computer, Inc., all rights reserved.
  9.  
  10.     Change History (most recent first):
  11.  
  12.     You may incorporate this sample code into your applications without
  13.     restriction, though the sample code has been provided "AS IS" and the
  14.     responsibility for its operation is 100% yours.  However, what you are
  15.     not permitted to do is to redistribute the source as "DSC Sample Code"
  16.     after having made changes. If you're going to re-distribute the source,
  17.     we require that you make it clear in the source that the code was
  18.     descended from Apple Sample Code, but that you've made changes.
  19. */
  20.  
  21. #include <Types.h>
  22.  
  23. // To understand this, you really need to read the accompanying documentation.
  24.  
  25. extern long ZZZApplParamsHack[8] = {0, 1, 2, 3, 4, 5, 6, 7};
  26.